/**
 * @author Todd
 */
package com.dudo.model;
import java.util.ArrayList;


public class JustDudoPlayer implements DudoPlayer {

	int claimCount;
	
	@Override
	public void setPlayer(int playerNum) {
		// do nothing
	}

	@Override
	public void reportPlayerDice(int[] playerNumDice) {
		// do nothing
	}

	@Override
	public void setRoll(int[] roll) {
		claimCount = 0;
	}

	@Override
	public void reportClaim(int player, Claim claim) {
		claimCount++;
	}

	@Override
	public void reportAllRolls(int[][] allRolls) {
		// do nothing
	}

	@Override
	public Claim getClaim() {
		return claimCount == 0 ? new Claim(1, 2) : new Claim();
	}
}
